/*
	The directives starting with # below ensures that this file is read by the compiler only once
	even if it is #included several times. It is call an "include guard"
*/
#ifndef CART_H_
#define CART_H_

//other types
#include "Chrono.h"				//uncomment once you have added the type definition
#include <string>
using namespace std;
using namespace Chrono;

struct Cart {
public:
	
	//data

	// constructors
	/* 
	Edited by : Achmad Giovani
	*/
	

	Cart();
	/* Constructor edited
		- parameters added
	*/
	Cart(int, int, Date); /* cart_id, customer_id, cart_purchase_date */

   // utility functions
	/* Edited by Achmad Giovani
		for displaying Carts
	*/
	string display() const;
	
	Date get_purchase_date(); 	/* added purchase_date getter by AG */
	int get_cart_id(); 			/* AGV on S3 */
	int get_cust_id(); 			/* AGV on S3 */
	
private:
   //constants

   // private data
	int cart_id;
	int cust_id;
	Date cart_purchase_date;	/* uncommented by AG*/
};


#endif //CART_H_